﻿using System;
using System.Runtime.CompilerServices;

namespace GenUI.WPF.GenControls
{
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Class, AllowMultiple = false)]
    public class PropGridMapAttribute : Attribute
    {
        public string MapName { get; private set; }
        public PropGridMapAttribute([CallerMemberName] string name = "")
        {
            MapName = name;
        }
    }
}
